<div id="form_card">
	<div class="pc-nav form-nav">
		<button @click="back(-1)"><i class="icon iconfont">&#xe62b;</i></button>
		<span>名片申请</span>
	</div>
	<ul class="approval-form-wrap">
		<li>
			<em class="left"><span style="color: red;">*</span>姓名</em>
			<i class="right">
				<input type="text" v-model="submitJson.component[0].value" />
			</i>
		</li>
		<li v-if="subFlag && /^\s*$/g.test(submitJson.component[0].value)">
			<em class="left"></em>
			<i class="right">
				<p style="color: red;" data-false='true'>姓名不能为空</p>
			</i>
		</li>
		<li>
			<em class="left"><span style="color: red;">*</span>部门</em>
			<i class="right">
				 <input type="text"  v-model="submitJson.component[1].value" /> 
			</i>
		</li>
		<li v-if="subFlag && /^\s*$/g.test(submitJson.component[1].value)">
			<em class="left"></em>
			<i class="right">
				<p style="color: red;" data-false='true'>部门不能为空</p>
			</i>
		</li>
		<li>
			<em class="left"><span style="color: red;">*</span>职位</em>
			<i class="right">
				 <input type="text" v-model="submitJson.component[2].value" />
			</i>
		</li>
		<li v-if="subFlag && /^\s*$/g.test(submitJson.component[2].value)">
			<em class="left"></em>
			<i class="right">
				<p style="color: red;" data-false='true'>职位不能为空</p>
			</i>
		</li>
		<li>
			<em class="left"><span style="color: red;">*</span>手机号</em>
			<i class="right">
				 <input type="text" v-model="submitJson.component[3].value" />
			</i>
		</li>
		<li v-if="subFlag && /^\s*$/g.test(submitJson.component[3].value)">
			<em class="left"></em>
			<i class="right">
				<p style="color: red;" data-false='true'>手机号不能为空</p>
			</i>
		</li>
		<li>
			<em class="left"><span style="color: red;">*</span>邮箱</em>
			<i class="right">
				 <input type="text" v-model="submitJson.component[4].value" />
			</i>
		</li>
		<li v-if="subFlag && /^\s*$/g.test(submitJson.component[4].value)">
			<em class="left"></em>
			<i class="right">
				<p style="color: red;" data-false='true'>邮箱不能为空</p>
			</i>
		</li>
		<li>
			<em class="left">座机号</em>
			<i class="right">
				 <input type="text" v-model="submitJson.component[5].value" />
			</i>
		</li>
		<li>
			<em class="left">特殊要求</em>
			<i class="right">
				<textarea name="" v-model="submitJson.component[6].value" rows="" cols="" placeholder="请输入"></textarea>
			</i>
		</li>
		<li>
			<em class="left">微信二维码</em>
			<i class="right">
				<upload_tpl message="img" name="微信二维码" v-on:getfile="getFilefn"></upload_tpl>
			</i>
		</li>
		<li>
			<em class="left">审批人</em>
			<i class="right">
				<dingding_users  v-on:getdingdinguser="getApproveUsers" message="approve" :approve_list="approve_list" :cc_list="cc_list" ></dingding_users>
			</i>
		</li>
		<li>
			<em class="left">抄送人</em>
			<i class="right">
				  <dingding_users v-on:getdingdinguser="getCopyUsers" :approve_list="approve_list" :cc_list="cc_list" message="cc"></dingding_users>
			</i>
		</li>
		<li>
			<em class="left"></em>
			<i class="right">
				  <span v-if="subFlag"></span>
				 <button class="submit-foot" @click="submitFn">提交</button>
			</i>
		</li>
	</ul>
		
</div>

